package io.agora.openduo.agora;

import io.agora.rtc.video.VideoEncoderConfiguration;

public class Config {

    public static final String CS_KEY_UID = "cs-key-uid";
    public static final String CS_KEY_CHANNEL = "cs-key-channel";
    public static final String CS_KEY_SUBSCRIBER = "cs-key-subscriber";
    public static final String CS_KEY_ROLE = "cs-key-role";

    public static final String PA_LABEL_CALL_IN = "cs-call-in";
    public static final String PA_LABEL_CALL_OUT = "cs-call-out";

    public static final String KEY_CALLING_ROLE = "key-calling-role";
    public static final String KEY_CALLING_CHANNEL = "key-calling-channel";
    public static final String KEY_CALLING_PEER = "key-calling-peer";

    public static final int ROLE_CALLER = 0;
    public static final int ROLE_CALLEE = 1;

    public boolean isDev;

    public String userID = "1010";

    public VideoEncoderConfiguration.VideoDimensions getDimension() {
        return mVideoDimension;
    }

    public VideoEncoderConfiguration.FRAME_RATE getFrameRate() {
        return mFrameRate;
    }

    public VideoEncoderConfiguration.ORIENTATION_MODE getOrientation() {
        return mOrientation;
    }

    private VideoEncoderConfiguration.VideoDimensions mVideoDimension =
            VideoEncoderConfiguration.VD_640x480;

    private VideoEncoderConfiguration.FRAME_RATE mFrameRate =
            VideoEncoderConfiguration.FRAME_RATE.FRAME_RATE_FPS_15;

    private VideoEncoderConfiguration.ORIENTATION_MODE mOrientation =
            VideoEncoderConfiguration.ORIENTATION_MODE.ORIENTATION_MODE_FIXED_PORTRAIT;
}
